package com.lcq.gulimall.product.feign;

import com.lcq.common.to.SkuSearchInfoTo;
import com.lcq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.io.IOException;
import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {
    @RequestMapping("/ware/waresku/hasStock/{skuId}")
    R hasStock(@PathVariable("skuId") Long skuId);
}
